package circular_dependence.bean;


import lombok.Data;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2022-08-15 09:27
 */
@Data
public class ClassB {

	private String name;

	private ClassA classA;

	public String getName() {
		return name;
	}

	public ClassB setName(String name) {
		this.name = name;
		return this;
	}

	public ClassA getClassA() {
		return classA;
	}

	public ClassB setClassA(ClassA classA) {
		this.classA = classA;
		return this;
	}

	@Override
	public String toString() {
		return "ClassB{" +
				"name='" + name + '\'' +
				", classA=" + classA.getClass() +
				'}';
	}
}
